let requset = null
document.getElementsByClassName("api-title").forEach(item => {
    if (item.innerText === "请求参数") requset = item.nextSibling
})
let lineArray = []
let requestload = ""
const load = requset.getElementsByClassName("ant-table-row-level-1")
load.forEach(item => {
    let innerText = item.innerText.replaceAll("\n", "")
    lineArray.push([...innerText.split("\t")])
})
requestload += "interface formData { \n"
lineArray.forEach(item => {
    let type = ""
    if (item[4].indexOf("integer") >= 0) type = "number"
    else if (item[4].indexOf("string") >= 0) type = "string"
    else if (item[4].indexOf("boolean") >= 0) type = "boolean"
    else type = "any"
    requestload += `\t${item[0]}${item[3] === 'false' ? '?' : ''}:${type} // ${item[1]} \n`
})
requestload += "}"
console.log(requestload)